package data;

import java.io.Serializable;


public class AuthentificationData implements Serializable
{
	private String login;
	private String password;
	private int result;
	private int numPort;
	private String adrIp;
		
	public AuthentificationData()
	{
		login = "";
		password = "";
		result = 0;
		numPort = 0;
		adrIp = "";
	}
	
	public AuthentificationData(String log, String pwd)
	{
		login = log;
		password = pwd;
		result = 0;
	}
	
	public String getLogin() 
	{
		return login;
	}

	public void setLogin(String login) 
	{
		this.login = login;
	}

	public String getPassword() 
	{
		return password;
	}

	public void setPassword(String password) 
	{
		this.password = password;
	}
	
	public int getResult()
	{
		return result;
	}
	
	public void setResult(int resultat)
	{
		result = resultat;
	}
	
	public int getNumPort()
	{
		return numPort();
	}
	
	public void setNumPort(int numero)
	{
		numPort = numero;
	}
	
	public String getAdrIp()
	{
		return adrIp;
	}
	
	public void setAdrIp(String ip)
	{
		adrIp = ip;
	}
}
